/**   
 * 项目名：化工企业安全生产信息化管理平台
 * 日期：    2020-03-17 14:00:30  
 * Copyright (c) 2015- -版权所有     
 */
package com.joysuch.wwyt.edu.service;

import com.joysuch.wwyt.edu.entity.EduCourseStudyHistory;

import com.joysuch.wwyt.edu.bean.EduCourseStudyHistoryDetailBean;
import com.joysuch.wwyt.edu.bean.EduCourseStudyHistoryEditBean;
import com.joysuch.wwyt.edu.bean.EduCourseStudyHistoryListBean;
import static com.joysuch.wwyt.edu.bean.EduCourseStudyHistoryListBean.SearchEduCourseStudyHistory;
import com.joysuch.wwyt.core.exception.BusinessRestrictionsException;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

public interface EduCourseStudyHistoryService {

    public EduCourseStudyHistory add(EduCourseStudyHistoryEditBean entity);

    void update(EduCourseStudyHistoryEditBean entity);

    Page<EduCourseStudyHistoryListBean> findByPage(Pageable page,SearchEduCourseStudyHistory condition);

    void delete(Long id) throws BusinessRestrictionsException;

    EduCourseStudyHistoryDetailBean getById(Long id);

    EduCourseStudyHistory findById(Long id);
}
